<template>
  <el-button type="primary" @click="login">登陆</el-button>
  <el-button type="primary" plain>退出</el-button>
  <el-button type="warning" :icon="Star" circle></el-button>

  <el-link href="http://ioolm.com/mlog" target="_blank">ioolm</el-link>
</template>

<script setup>
  import { Star } from '@element-plus/icons-vue'
  import { useRouter } from 'vue-router'
  import { ref } from 'vue'
  
  const router = useRouter()
  const login = () =>{
    router.push({ path: '/login' })
  }
</script>

<style lang="scss" scoped>
</style>
